package com.example.demo2_review.design_pattern.creational_patterns.singleton_pattern;

/**
 * @Author zwp14
 * @create 2024/6/24 19:24
 * @description
 */
public class Test {
    public static void main(String[] args) {
        String chineseName = EnumPatterns.MONDAY.getChineseName();
        System.out.println(chineseName);
        boolean workDay = EnumPatterns.MONDAY.isWorkDay();
        if (!workDay){
            System.out.println("今天非工作日！");
        }else {
            System.out.println("今天是工作日！");
        }

    }
}
